package com.shop.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;

/**
 * yyt(MerchantStock)表实体类
 *
 * @author makejava
 * @since 2020-11-21 10:31:05
 */
@Data
public class MerchantStock extends Model<MerchantStock> {

    private Integer id;
    //商品码
    private String goodsNum;
    //商品名
    private String goodsName;
    //关联商品表
    private Integer goodsId;
    //商品分类
    private String goodsCategory;
    //管理人 一般指店长权限的员工
    private Integer managerId;
    //批次 当前系统时间随机生成
    private String batch;
    //库存分类
    private String classify;
    //入库库存
    private Integer inputStock;
    //锁定库存
    private Integer lockStock;
    //可售库存
    private Integer saleStock;
    //单位
    private String units;
    //规格
    private String size;
    //进货价格
    private Double inputPrice;
    //零售价格
    private Double salePrice;
    //供应商
    private String supplier;
    //供应商id
    private Integer supplierId;

    private String status;

    private String statusOne;

    private String statusTwo;
    //备注
    private String remark;

    private Integer createUserId;

    private Integer updateUserId;
    //默认为0 未删除
    private Integer isDeleted;

    private Date createTime;

    private Date updateTime;

    private Integer version;
}